import { useState } from 'react';
function Btn(){
	 const [count, setCount] = useState(0);
	  function handleClick() {
	    setCount(count + 1);
	  }
	return (
		<div>
			<button onClick={handleClick} className="myBtn">确定{count}</button>
		</div>
	)
}

export default Btn